<?php
namespace Core;

require_once __Dir__ . '/../../simpletest/autorun.php';

class TestOfGetAllTasks extends \UnitTestCase 
{
	/**
	* Check a correct get tasks
	*/
    function testCorrectGetAllTasks() 
	{
		$services = new CoreService();
		$result = $services->getAllTasks();
		
		$this->assertFalse($result->isFailed);
		$this->assertTrue(count($result->response) > 0);
    }
	
	
	/**
	* Check an invalid get tasks
	*/
    function testInvalidGetAllTasks() 
	{
    }
}
?>